<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试</title>
</head>
<body>
<p>页面单独运行，f12查看数据</p>
<!--引入axios的js文件-->
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
    /* 发送请求*/
    axios({
      method:'get',
      url:'http://localhost:1111/users/queryUsers'
    }).then(result=>{
        //成功的回调
        console.log(result.data);
    }).catch(err=>{
        //失败的回调
        console.log(err);
    })
</script>
</body>
</html>